package com.study.mapper;

import com.study.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TestMapper {

    void add(String username, String password);

    void update(Long id, String username, String password);

    @Select("select * from administrators where id = #{id}")
    Admin getAdministratorsByid(Long id);
}
